Integrand size = 34, antiderivative size = 226 \[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\frac {\sqrt {2} C \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {1}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \sqrt [3]{a+b \sec (c+d x)} \tan (c+d x)}{b d \sqrt {1+\sec (c+d x)} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}+\frac {\sqrt {2} (b B-a C) \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} \tan (c+d x)}{b d \sqrt {1+\sec (c+d x)} (a+b \sec (c+d x))^{2/3}} \]
C*AppellF1(1/2,-1/3,1/2,3/2,b*(1-sec(d*x+c))/(a+b),1/2-1/2*sec(d*x+c))*(a+ b*sec(d*x+c))^(1/3)*2^(1/2)*tan(d*x+c)/b/d/((a+b*sec(d*x+c))/(a+b))^(1/3)/ (1+sec(d*x+c))^(1/2)+(B*b-C*a)*AppellF1(1/2,2/3,1/2,3/2,b*(1-sec(d*x+c))/( a+b),1/2-1/2*sec(d*x+c))*((a+b*sec(d*x+c))/(a+b))^(2/3)*2^(1/2)*tan(d*x+c) /b/d/(a+b*sec(d*x+c))^(2/3)/(1+sec(d*x+c))^(1/2)
Leaf count is larger than twice the leaf count of optimal. \(7106\) vs. \(2(226)=452\).
Time = 50.98 (sec) , antiderivative size = 7106, normalized size of antiderivative = 31.44 \[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\text {Result too large to show} \]
Time = 0.50 (sec) , antiderivative size = 226, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.206, Rules used = {3042, 4550, 27, 3042, 4321, 156, 155}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {B \csc \left (c+d x+\frac {\pi }{2}\right )+C \csc \left (c+d x+\frac {\pi }{2}\right )^2}{\left (a+b \csc \left (c+d x+\frac {\pi }{2}\right )\right )^{2/3}}dx\) |
\(\Big \downarrow \) 4550 |
\(\displaystyle \frac {\int \frac {(b B-a C) \sec (c+d x)}{(a+b \sec (c+d x))^{2/3}}dx}{b}+\frac {C \int \sec (c+d x) \sqrt [3]{a+b \sec (c+d x)}dx}{b}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {(b B-a C) \int \frac {\sec (c+d x)}{(a+b \sec (c+d x))^{2/3}}dx}{b}+\frac {C \int \sec (c+d x) \sqrt [3]{a+b \sec (c+d x)}dx}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b B-a C) \int \frac {\csc \left (c+d x+\frac {\pi }{2}\right )}{\left (a+b \csc \left (c+d x+\frac {\pi }{2}\right )\right )^{2/3}}dx}{b}+\frac {C \int \csc \left (c+d x+\frac {\pi }{2}\right ) \sqrt [3]{a+b \csc \left (c+d x+\frac {\pi }{2}\right )}dx}{b}\) |
\(\Big \downarrow \) 4321 |
\(\displaystyle -\frac {(b B-a C) \tan (c+d x) \int \frac {1}{\sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1} (a+b \sec (c+d x))^{2/3}}d\sec (c+d x)}{b d \sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1}}-\frac {C \tan (c+d x) \int \frac {\sqrt [3]{a+b \sec (c+d x)}}{\sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1}}d\sec (c+d x)}{b d \sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1}}\) |
\(\Big \downarrow \) 156 |
\(\displaystyle -\frac {(b B-a C) \tan (c+d x) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} \int \frac {1}{\sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1} \left (\frac {a}{a+b}+\frac {b \sec (c+d x)}{a+b}\right )^{2/3}}d\sec (c+d x)}{b d \sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1} (a+b \sec (c+d x))^{2/3}}-\frac {C \tan (c+d x) \sqrt [3]{a+b \sec (c+d x)} \int \frac {\sqrt [3]{\frac {a}{a+b}+\frac {b \sec (c+d x)}{a+b}}}{\sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1}}d\sec (c+d x)}{b d \sqrt {1-\sec (c+d x)} \sqrt {\sec (c+d x)+1} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 155 |
\(\displaystyle \frac {\sqrt {2} (b B-a C) \tan (c+d x) \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{b d \sqrt {\sec (c+d x)+1} (a+b \sec (c+d x))^{2/3}}+\frac {\sqrt {2} C \tan (c+d x) \sqrt [3]{a+b \sec (c+d x)} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {1}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{b d \sqrt {\sec (c+d x)+1} \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}}}\) |
(Sqrt[2]*C*AppellF1[1/2, 1/2, -1/3, 3/2, (1 - Sec[c + d*x])/2, (b*(1 - Sec [c + d*x]))/(a + b)]*(a + b*Sec[c + d*x])^(1/3)*Tan[c + d*x])/(b*d*Sqrt[1 + Sec[c + d*x]]*((a + b*Sec[c + d*x])/(a + b))^(1/3)) + (Sqrt[2]*(b*B - a* C)*AppellF1[1/2, 1/2, 2/3, 3/2, (1 - Sec[c + d*x])/2, (b*(1 - Sec[c + d*x] ))/(a + b)]*((a + b*Sec[c + d*x])/(a + b))^(2/3)*Tan[c + d*x])/(b*d*Sqrt[1 + Sec[c + d*x]]*(a + b*Sec[c + d*x])^(2/3))
3.9.60.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) ^(p_), x_] :> Simp[((a + b*x)^(m + 1)/(b*(m + 1)*Simplify[b/(b*c - a*d)]^n* Simplify[b/(b*e - a*f)]^p))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/ (b*c - a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && !IntegerQ[m] && !IntegerQ[n] && !IntegerQ[p] && GtQ[Sim plify[b/(b*c - a*d)], 0] && GtQ[Simplify[b/(b*e - a*f)], 0] && !(GtQ[Simpl ify[d/(d*a - c*b)], 0] && GtQ[Simplify[d/(d*e - c*f)], 0] && SimplerQ[c + d *x, a + b*x]) && !(GtQ[Simplify[f/(f*a - e*b)], 0] && GtQ[Simplify[f/(f*c - e*d)], 0] && SimplerQ[e + f*x, a + b*x])
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) ^(p_), x_] :> Simp[(e + f*x)^FracPart[p]/(Simplify[b/(b*e - a*f)]^IntPart[p ]*(b*((e + f*x)/(b*e - a*f)))^FracPart[p]) Int[(a + b*x)^m*(c + d*x)^n*Si mp[b*(e/(b*e - a*f)) + b*f*(x/(b*e - a*f)), x]^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && !IntegerQ[m] && !IntegerQ[n] && !IntegerQ[p] & & GtQ[Simplify[b/(b*c - a*d)], 0] && !GtQ[Simplify[b/(b*e - a*f)], 0]
Int[csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_ Symbol] :> Simp[Cot[e + f*x]/(f*Sqrt[1 + Csc[e + f*x]]*Sqrt[1 - Csc[e + f*x ]]) Subst[Int[(a + b*x)^m/(Sqrt[1 + x]*Sqrt[1 - x]), x], x, Csc[e + f*x]] , x] /; FreeQ[{a, b, e, f, m}, x] && NeQ[a^2 - b^2, 0] && !IntegerQ[2*m]
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_. ))*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[1/b Int [(a + b*Csc[e + f*x])^m*(A*b + (b*B - a*C)*Csc[e + f*x]), x], x] + Simp[C/b Int[Csc[e + f*x]*(a + b*Csc[e + f*x])^(m + 1), x], x] /; FreeQ[{a, b, e, f, A, B, C, m}, x] && NeQ[a^2 - b^2, 0] && !IntegerQ[2*m]
\[\int \frac {B \sec \left (d x +c \right )+C \sec \left (d x +c \right )^{2}}{\left (a +b \sec \left (d x +c \right )\right )^{\frac {2}{3}}}d x\]
\[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\int { \frac {C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right )}{{\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}}} \,d x } \]
\[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\int \frac {\left (B + C \sec {\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}}{\left (a + b \sec {\left (c + d x \right )}\right )^{\frac {2}{3}}}\, dx \]
\[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\int { \frac {C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right )}{{\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}}} \,d x } \]
\[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\int { \frac {C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right )}{{\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}}} \,d x } \]
Timed out. \[ \int \frac {B \sec (c+d x)+C \sec ^2(c+d x)}{(a+b \sec (c+d x))^{2/3}} \, dx=\int \frac {\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}}{{\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )}^{2/3}} \,d x \]